package com.bdmc.alarm.domain.bo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.bdmc.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 报警规则业务对象 alarm_rule
 *
 * @author bdmc
 * @date 2022-03-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AlarmRuleBo extends BaseEntity {

    /**
     * 报警规则id
     */
    private Long alarmRuleId;



    /**
     * 报警规则名称
     */
    private String alarmRuleName;

    /**
     * 规则对象 人或车辆
     */
    private String ruleTarget;

    /**
     * 告警类型
     */
    private String alarmType;

    /**
     * 最大停留时间
     */
    private Integer stopMaxMinute;

    /**
     * 出围栏最大时间
     */
    private Integer outMaxMinute;
    /**
     * 油量消耗
     */
    private Integer oilWaste;
    /**
     * 是否启用
     */
    private Integer enabled;

    /**
     * 备注
     */
    private String remark;


    private List<AlarmRuleConfigBo> ruleConfigList;
}
